package com.gf.common;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 
 * @description 系统加载监听器
 * @date   Oct 24, 2014
 * @author sss
 */
public class PlatFormListener implements ServletContextListener {
	private static final Logger LOGGER = LoggerFactory.getLogger(PlatFormListener.class);

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		LOGGER.info("-------------------------------");
        LOGGER.info("-----网格督查平台退出-----");
        LOGGER.info("-------------------------------");
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		LOGGER.info("-------------------------------");
        LOGGER.info("---网格督查平台启动成功---");
        LOGGER.info("-------------------------------");
	}

}
